package com.itheima.consumer.feign;

import com.itheima.consumer.pojo.UserInfo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

@FeignClient(value = "INSTANCES-USER")
public interface UserFeignClient {

    @GetMapping("/getUserInfo")
    public UserInfo getUserInfo();

}
